import { ApiProperty } from '@nestjs/swagger';
import { BaseAdminResult, BaseResult } from "@/common/base/base.result";
import { BooleanNumber } from "common/utils/data";

export class TrackAllResult extends BaseResult {
  @ApiProperty({
    description: '名称',
  })
  title: string;

  @ApiProperty({
    description: '图片',
  })
  img: string;

  @ApiProperty({
    description: '描述',
  })
  desc: string;
}

export class TrackAdminIndexResult extends BaseAdminResult {
  @ApiProperty({
    description: '名称',
  })
  title: string;

  @ApiProperty({
    description: '图片',
  })
  img: string;

  @ApiProperty({
    description: '描述',
  })
  desc: string;

  @ApiProperty({
    description: '排序',
  })
  sort: number;

  @ApiProperty({
    description: '状态',
  })
  status: BooleanNumber;
}
